/* 统一背景样式 - 以News.html为参照 */
.hero-banner {
    width: 100%;
    height: 400px;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 50%, #1abc9c 100%);
    background-size: 400% 400%;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.hero-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('../img/product/background.webp') center/cover;
    opacity: 0.2;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8) 0%, rgba(41, 128, 185, 0.8) 50%, rgba(26, 188, 156, 0.8) 100%);
}

.banner-titles {
    text-align: center;
    color: white;
    position: relative;
    z-index: 2;
    animation: fadeInUp 1.2s ease-out;
}

.banner-titles h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    font-weight: 800;
    letter-spacing: 3px;
    background: linear-gradient(45deg, #fff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-titles h2 {
    font-size: 2rem;
    font-weight: 300;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    opacity: 0.95;
    letter-spacing: 1px;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .hero-banner {
        height: 350px;
    }
    
    .banner-titles h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }
    
    .banner-titles h2 {
        font-size: 1.6rem;
    }
}

/* 场景矩阵样式 */
.scenario-matrix {
    padding: 60px 0;
    background-color: #f8f9fa;
}

.scenario-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.scenario-row {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
    margin-bottom: 30px;
}

.scenario-item {
    flex: 0 0 calc(33.333% - 30px);
    min-width: 280px;
    height: 220px;
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
}

.scenario-item:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 28px rgba(0,0,0,0.2);
}

.scenario-image {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.6s ease;
    filter: brightness(0.9);
}

.scenario-item:hover .scenario-image {
    transform: scale(1.05);
    filter: brightness(0.8);
}

.scenario-content {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to bottom, rgba(0,0,0,0.2), rgba(0,0,0,0.6));
    color: white;
    padding: 20px;
    text-align: center;
    pointer-events: none;
}

.scenario-item h3 {
    margin: 0;
    font-size: 22px;
    font-weight: 600;
    letter-spacing: 1px;
    text-shadow: 0 2px 6px rgba(0,0,0,0.5);
    pointer-events: none;
}

.scenario-link {
    display: block;
    width: 100%;
    height: 100%;
    text-decoration: none;
    color: inherit;
}

/* 新的应用场景网格布局样式 */
.application-scenes-container {
    padding: 80px 0;
    background: linear-gradient(135deg, #f8fbff 0%, #f0f8ff 100%);
}

.scenes-header {
    text-align: center;
    margin-bottom: 60px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.scenes-header h2 {
    font-size: 3rem;
    color: #2d3748;
    margin-bottom: 20px;
    font-weight: 700;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.scenes-header p {
    font-size: 1.2rem;
    color: #718096;
    line-height: 1.6;
}

.scenes-categories {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.category-section {
    margin-bottom: 80px;
}

.category-section:last-child {
    margin-bottom: 0;
}

.category-title {
    font-size: 2.5rem;
    color: #2d3748;
    margin-bottom: 40px;
    text-align: center;
    font-weight: 700;
    position: relative;
}

.scenes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.scene-card {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.scene-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(52, 152, 219, 0.2);
}

.scene-link {
    display: block;
    text-decoration: none;
    color: inherit;
    height: 100%;
}

.scene-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.scene-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.scene-card:hover .scene-image img {
    transform: scale(1.1);
}

.scene-content {
    padding: 25px;
    background: white;
}

.scene-content h4 {
    font-size: 1.4rem;
    color: #2d3748;
    margin-bottom: 12px;
    font-weight: 600;
}

.scene-content p {
    color: #718096;
    line-height: 1.6;
    margin: 0;
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .scenes-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 25px;
    }
}

@media (max-width: 768px) {
    .application-scenes-container {
        padding: 60px 0;
    }
    
    .scenes-header {
        margin-bottom: 40px;
    }
    
    .scenes-header h2 {
        font-size: 2.2rem;
    }
    
    .scenes-header p {
        font-size: 1.1rem;
    }
    
    .category-section {
        margin-bottom: 60px;
    }
    
    .category-title {
        font-size: 2rem;
    }
    
    .scenes-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
    
    .scene-content {
        padding: 20px;
    }
    
    .scene-content h4 {
        font-size: 1.2rem;
    }
    
    .scene-content p {
        font-size: 0.95rem;
    }
}

@media (max-width: 480px) {
    .scenes-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .scene-image {
        height: 180px;
    }
    
    .scenes-header h2 {
        font-size: 1.8rem;
    }
    
    .category-title {
        font-size: 1.6rem;
    }
}
